.userBox{
    width: 100%;
    height: 100%;
    /* border: 2px solid ; */
}
.header{
    width: 100%;
    height: 80px;
    display: flex;
    background-color: #f7f7f7;
    /* background-color: #e19044; */
    cursor: pointer;
}
.header>.nav{
    width: 100%;
    display: flex;
}
.steamName{
    color: gray;
}
.nav>div{
    width: 150px;
    margin-top: 10px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: gray;
    border-radius: 10px;
}
/* logo */
.nav>div:nth-child(1){
    margin-top: 18px;
    width: auto;
    height:80px;
    /* border: 2px solid ; */
    margin-left: 10%;
}
.nav>div:nth-child(1)>img{
    width: 100%;
    height: 50%;
    object-fit: contain;
}

.nav>.userLogin{
    margin-left: auto;
}
.nav>div:nth-child(n+2):hover{
    transition: all 1s;
    text-shadow: 0 0 4px gray;
    color: dodgerblue;
    text-shadow: 1px 0 4px rgba(248, 243, 138, 0.813);
}
/* 用户中心 */
.userCenter{
    margin-left: auto;
    width: 200px;
    box-shadow: 0 0 2px #ccc;
    position: relative;
    transition: all .6s;
}
/* 用户中心：hover 让下拉菜单生成 */
.userCenter:hover .secondMenu{
    transition: all .6s;
    height: 120px;
    padding: 10px;
}
/* 下拉菜单的配置 */
.secondMenu{
    position: absolute;
    left: 0%;
    width: 85%;
    height: 0;
    /* border: 2px solid ; */
    z-index: 1000;
    border-radius: 5px;
    background-color: rgba(245, 245, 245, 0.7);
    transition: all .6s;
}
/* 下拉菜单的每一项div */
.secondMenu>div{
    display: none;
    width: 100%;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all .6s;
}
/* 下拉菜单的每一项：hover显示出来 */
.userCenter:hover .secondMenu>div{
    display: block;
}
/* 下拉菜单：hover改变颜色 */
.secondMenu>div:hover{
    color: coral;
    border: 2px solid white;
}
/* 主体部分 */
.main{
    margin-left: 5%;
    margin-top: 10px;
    width: 90%;
    height: 600px;
    /* border: 2px solid ; */
    border-radius: 4px;
    box-shadow: 0 0 4px gray;
    display: flex;
}
.aside{
    margin-top: 20px;
    width: 15%;
    height: auto;
    border-radius: 5px;
    border-right: 2px solid #ccc;
    position: relative;
}
.aside>div:nth-child(1){
    color: white;
    font-size: 18px;
    background-color: dodgerblue;
}
.aside>.type{
    margin-top: 2px;
    margin-left: 5%;
    width: 90%;
    height: 40px;
    color: gray;
    line-height: 40px;
    border-radius: 5px;
    border: 2px solid #f7f7f7;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
}
.type:hover{
    transition: all .5s;
    color: dodgerblue;
    border-bottom: 2px solid dodgerblue;
}
#hoverBox{
    position: absolute;
    top: 62px;
    border-style: solid;
    border-color: transparent;
    border-width: 10px 10px 10px 10px;
    border-left-color: dodgerblue;
    transition: all .5s;
}
.type:nth-child(1):hover ~ #hoverBox{
    top: 12px;
}
.type:nth-child(2):hover ~ #hoverBox{
    top: 62px;
}
.type:nth-child(3):hover ~ #hoverBox{
    top: 104px;
}
.center{
    margin-top: 20px;
    width: 85%;
    height: 95%;
    border-left: 2px solid #ccc;
    border-radius: 5px;
    overflow: auto;
    color: black;
}
